<%@page import="com.sbl.bajw.common.PrivilegeUtil"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@include file="../common/prama.jsp" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>群防群治管理服务平台</title>
<link href="${burl }/css/manager/main.css" rel="stylesheet" type="text/css"/>
<link href="${burl }/js/common/jquery/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link href="${burl }/css/common/widgetsGrid.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/js/common/jquery/easyui/jquery.datetimepicker.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/grid.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/dialog.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/common/common.css" type="text/css" rel="stylesheet"/>
<link href="${burl }/css/manager/dept.css" type="text/css" rel="stylesheet"/>
<script type='text/javascript' src='${burl }/js/common/jquery/jquery-1.8.2.min.js'></script>
<script type='text/javascript' src='${burl }/js/common/jquery/jquery-ui.js'></script>
<script type='text/javascript' src='${burl }/js/common/moment.min.js'></script>
<script type='text/javascript' src='${burl }/js/common/jquery/easyui/jquery.datetimepicker.js'></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<script type="text/javascript" src="${burl }/js/common/highcharts.js"></script>
<script type="text/javascript" src="${burl }/js/common/common.js"></script>
<script type="text/javascript" src="${burl }/js/business/checkCommon.js"></script>
<script type='text/javascript' src='${burl }/js/common/widgets/widgetsGrid.js'></script>
<script type='text/javascript' src='${burl }/js/common/widgets/managerGrid.js'></script>
<script type='text/javascript' src='${burl }/js/common/widgets/CardGrid.js'></script>
<script type="text/javascript" src="${burl }/js/business/manager/main.js"></script>
<script type='text/javascript' src='${burl }/js/business/sendOrder.js'></script>
<script type='text/javascript' src='${burl }/js/business/TermpostEditor.js'></script>
<script type="text/javascript" src="${burl }/js/business/modelDao.js"></script>
<script type='text/javascript' src='${burl }/js/common/BaiduMapCommon.js'></script>
<script type='text/javascript' src='${burl }/js/business/sendTodo.js'></script>
<script type='text/javascript' src='${burl }/js/business/userSelecter.js?2015-6-16 17:00:27'></script>
<script type='text/javascript' src='${burl }/js/business/JWTUserSelecter.js'></script>
<script type='text/javascript' src='${burl }/js/common/Audit.js'></script>
<script type='text/javascript' src='${burl }/js/common/ImageGallery.js'></script>
</head>
<body>	
	<div class="top">
		<table style="width: 100%;" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					<div class="left"><img src="${burl }/images/manager/top1.png"/></div>
					<div class="right"><img src="${burl }/images/manager/top2.png" /></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="left"><img src="${burl }/images/manager/top_logo.png"/></div>
					<div class="right"><img src="${burl }/images/manager/top3.png" /></div>
				</td>
			</tr>
			<tr>
				<td>
					<div class="left"><img src="${burl }/images/manager/top4.png"/></div>
					<div class="right"><img src="${burl }/images/manager/top5.png" /></div>
				</td>
			</tr>
		</table>
		<div class="logo_name">群防群治管理服务平台</div>
	</div>
	<div class="low">
		<div style="float:left;background: url('${burl}/images/manager/low1_bg.png');width:200px;">
			<div class="left"><img src="${burl }/images/manager/low1_1.png" /></div>
			<div class="right"><img src="${burl }/images/manager/low1_2.png" /></div>
			<span class="username">当前用户：${userName }</span>
		</div>
		<div class="content_title"></div>
		<div class="right"><img src="${burl }/images/manager/low2.png" /></div>
	</div>
	<div class="main">
		<div class="menu_main">
			<div class="menu_name_div">
				<div class="left"><img src="${burl }/images/manager/menu_1.png" /></div>
				<div class="right"><img src="${burl }/images/manager/menu_2.png" /></div>
				<span class="menu_name">管理菜单</span>
			</div>
			<div class="menu">
				<table class="nav_menu" id="nav_menu">
					<tr>
						<td>
							<div class="first_menu" id="business"><span class="span">业务中心</span></div>
							<div class="second_menu">
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("tudomanager")){
								%>
								<div class="menu_info">
									<div class="menu_title">
										<img src="${burl }/images/manager/menu_logo.png" />
										<span class="span_third_title">待办管理</span>
									</div>
									<div class="third_menu">
										<div class="third_menu_title">
											<a tag="/view/manager/todo.jsp" class="span_gl">待办列表</a>
										</div>
										<div class="third_menu_title">
											<a tag="/Todo/main.do" class="span_gl">新增待办</a>
										</div>
									</div>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("msgbox_manager")){
								%>
								<div class="menu_info">
									<div class="menu_title">
										<img src="${burl }/images/manager/menu_logo.png" />
										<span class="span_third_title">消息管理</span>
									</div>
									<div class="third_menu">
										<div class="third_menu_title">
											<a tag="/MsgBox/Add.do" class="span_gl">新增消息</a>
										</div>
										<div class="third_menu_title">
											<a tag="/MsgBox/List.do" class="span_gl">消息列表</a>
										</div>
									</div>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("info_collect")){
								%>
								<div class="menu_info">
									<div class="menu_title">
										<img src="${burl }/images/manager/menu_logo.png" />
										<span class="span_third_title">信息采集管理</span>
									</div>
									<div class="third_menu">
										<div class="third_menu_title">
											<a tag="/CarStatic/List.do" class="span_gl">车辆采集管理</a>
										</div>
										<div class="third_menu_title">
											<a tag="/view/manager/info/collect_log.jsp" class="span_gl">日常采集管理</a>
										</div>
										<div class="third_menu_title">
											<a tag="/PersonnelRecord/List.do" class="span_gl">人员登记管理</a>
										</div>
										<div class="third_menu_title">
											<a tag="/view/manager/czw.jsp" class="span_gl">出租屋管理</a>
										</div>
										<div class="third_menu_title">
											<a tag="/CameraHouse/List.do" class="span_gl">监控室管理</a>
										</div>
										<div class="third_menu_title">
											<a tag="/Camera/easyList.do" class="span_gl">摄像头管理</a>
										</div>
									</div>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("dept")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/Dept/OrgManagerList.do" class="span_gl">单位管理</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("prize_alarm")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/PrizeAlarm/List.do" class="span_gl">随手拍管理</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("score")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/per_int.jsp" class="span_gl">绩效积分</a>
								</div>
								<%
									}
								%>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div class="first_menu" id="business"><span class="span">系统管理</span></div>
							<div class="second_menu">
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("statistics")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/Statistics.jsp" class="span_gl">每日统计</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("operation_log")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/OperationLog.jsp" class="span_gl">操作日志</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("app_log")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/AppLog.jsp" class="span_gl">APP错误日志</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("app_upload")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/uploadfile/uploadApp.jsp" class="span_gl">App上传</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("adv_upload")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/Advertising.jsp" class="span_gl">广告管理</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("score_setting")){
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/view/manager/setInt.jsp" class="span_gl">积分设置</a>
								</div>
								<%
									}
								%>
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("police_work")){
								%>
								<div class="menu_info">
									<div class="menu_title">
										<img src="${burl }/images/manager/menu_logo.png" />
										<span class="span_third_title">警务信息管理</span>
									</div>
									<div class="third_menu">
										<div class="third_menu_title">
											<a tag="/view/manager/placeList.jsp" class="span_gl">警务信息点管理</a>
										</div>
										<div class="third_menu_title">
											<a tag="/view/manager/sspoiCount.jsp" class="span_gl">警务信息点统计</a>
										</div>
									</div>
								</div>
								<%
									}
								%>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div class="first_menu" id="business"><span class="span">用户管理</span></div>
							<div class="second_menu">
							<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("userlist")){
										%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/User/easyList.do" class="span_gl">用户列表</a>
								</div>
								<%
									}
								%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/FeedBack/List.do" class="span_gl">用户反馈</a>
								</div>
								<%
								if(PrivilegeUtil.GetInstance().hasPrivilege("tallGroupManager")){
									%>
								<div class="menu_info">
									<img src="${burl }/images/manager/menu_logo.png" />
									<a tag="/JWTTallGroup/getGroupList.do" class="span_gl">对讲分组</a>
								</div>
								<%
									}
								 %>
								<div class="menu_info">
								<%
									if(PrivilegeUtil.GetInstance().hasPrivilege("privilege")){
										%>
										<div class="menu_title">
											<img src="${burl }/images/manager/menu_logo.png" />
											<span class="span_third_title">用户权限</span>
										</div>
										<div class="third_menu">
											<div class="third_menu_title">
												<a tag="/Privilege/main.do" class="span_gl">权限管理</a>
											</div>
											<div class="third_menu_title">
												<a tag="/DeptPrivilege/userList.do" class="span_gl">数据权限管理</a>
											</div>
											<div class="third_menu_title">
												<a tag="/Role/main.do" class="span_gl">角色管理</a>
											</div>
											<div class="third_menu_title">
												<a tag="/UserRole/main.do" class="span_gl">用户角色管理</a>
											</div>
										</div>
										<%
									}
								%>
								</div>
							</div>
						</td>
					</tr>
				</table>
			</div>
			<div class="menu_down">
				<div class="left"><img src="${burl }/images/manager/menu_down.png" /></div>
			</div>
		</div>
		<div class="content" id="content">
		</div>
	</div>
	<div class="down">
		<div class="left"><img src="${burl }/images/manager/down1.png" /></div>
		<div class="right"><img src="${burl }/images/manager/down2.png" /></div>
	</div>
</body>
</html>